package com.gongpingjialoan.utility;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;

public interface ICache {

	public boolean exists(String url);

	public File getFile(String url);

	public InputStream getInputStream(String url) throws IOException;

	public void store(String url, InputStream is);

	public void invalidate(String url);

	public void cleanup();

	public void smartFree();
}
